package com.ai.entity.made;

import com.ai.annotation.Dict;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * <p>
 *
 * </p>
 *
 * @author chen
 * @since 2023-03-28 11:12:30
 */
@Getter
@Setter
@TableName("t_cameras")
@ApiModel(value = "Cameras对象", description = "")
public class Cameras implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("摄像头ID	")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Excel(name = "摄像头代号", width = 20)
    @ApiModelProperty("摄像头代号")
    @TableField("camera_code")
    private String cameraCode;

    @Excel(name = "摄像头IP", width = 20)
    @ApiModelProperty("摄像头IP	")
    @TableField("camera_ip")
    private String cameraIp;

    @ApiModelProperty("摄像头用户名	")
    @TableField("camera_username")
    private String cameraUsername;

    @ApiModelProperty("摄像头密码	")
    @TableField("camera_password")
    private String cameraPassword;

    @ApiModelProperty("摄像头名称	")
    @TableField("title")
    private String title;

    @ApiModelProperty("表面（1.上表面，2.下表面）	")
    @TableField("surface")
    @Dict(dicCode = "surface")
    private Integer surface;

    @ApiModelProperty("序号	")
    @TableField("number")
    private Integer number;

    @ApiModelProperty("是否删除	")
    @TableField("is_del")
    @TableLogic
    private Integer isDel;


}
